package tema1;

import java.util.Scanner;

public class Main {

	public static void main(String[] args){
		/*Scanner in = new Scanner(System.in);
		String fileName, testType;
		
		System.out.print("Introduceti numele fisierului: ");
		fileName = in.nextLine();
		
		DataSet dataSet = DataSetReader.read(fileName);
		
		System.out.print("Introduceti tipul testului (Gini / Entropy): ");
		testType = in.nextLine();
		
		if(testType.equals("Gini")){
			dataSet.setTestType(TestType.Gini);
		} else if(testType.equals("Entropy")) {
			dataSet.setTestType(TestType.Entropy);
		}*/
		
		DataSet dataSet = DataSetReader.read("iris-d3.cds");
		DecisionTree decisionTree = new DecisionTree(dataSet);
		decisionTree.printTree();
	}
}